<template>
  <div class="app-container">
      <el-table :data="tableData.list" border size="small">
        <el-table-column
          align="center"
          prop="id"
          label="id"
          width="50"
        ></el-table-column>
        <el-table-column
          align="center"
          prop="taskType"
          label="任务类型"
        ></el-table-column>
        <el-table-column align="center" prop="status" label="状态">
        </el-table-column>
        <el-table-column
          align="center"
          prop="createTime"
          label="创建时间"
        ></el-table-column>
        <el-table-column
          align="center"
          prop="updateTime"
          label="更新时间"
        ></el-table-column>
      </el-table>

  </div>
</template>
<script>
import { getTaskQueryList } from "@/api/tax";
export default {
  name: "taxdetail",
  props:{
    detailInfo:{
      type:Object,
      default:()=>{
        return {}
      }
    }
  },
  created() {
    this.getList(this.detailInfo.taskId);
  },
  data() {
    return {
      tableData: {
        list: []
      }
    };
  },

  methods: {

    getList(id) {
      getTaskQueryList(id).then(res => {
        this.tableData.list = res.data;
      });
    }
  }
};
</script>

<style scoped lang="scss"></style
